﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace HostingDomainWebsite
{
    public partial class SiteMaster : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Session["username"] = "thebad";
            if (Session["username"] == null)
            {
                Response.Redirect("AdminLogin.aspx");
            }
            else
            {
                Username.InnerHtml = Session["username"].ToString();
                UsernameBig.InnerHtml = Session["username"].ToString();
            }
        }
    }
}
